package com;

public class Demo01 {
    public  static void print(int n,int m){
        System.out.println("打印从"+n+"到"+m+"之间的奇数");
        for (int i = n; i <=m; i++) {
            if(i%2!=0){
            System.out.println(i);
            }
        }
    }
        public static void main (String[]agrs){
            print(26 ,18) ;
        }

}
